#include "container.h"
#include "string.h"

/*******************************************************
容器验证没有问题，可正常使用
********************************************************/

CONTAINER_UINT(board_start, 0, "0.end");
CONTAINER_UINT(board_end, 0, "1.end");


const void*container_find_obj( const char*name )
{
	const struct container_def *ptr;
	for ( ptr = &__dev_desc_board_start; ptr<&__dev_desc_board_end; ptr++  )
	{
		if ( strcmp( ptr->name, name ) == 0 )
		{
			return (void*)ptr->fn;
		}
	}
	return 0;
}





